import request from '../utils/sx-request'
let uri = process.env.API_BASE_URL
let host = uri + '/academy'
export const queryRecommendSxService = obj => {
    return request.post(host + '/teacherWechat/queryRecommendSxService', obj)
}
export const getFiles = pid => {
    return request.get(host + '/teacher/files?pid='+ pid)
}
export const getFilesTree = (pid,level,limit) => {
    return request.get(host + '/teacher/files/tree?pid='+ pid+'&level='+level+'&limit='+limit)
}
